package com.briup.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * redis配置属性
 * @author wood
 */
@ConfigurationProperties(prefix = "briup.config.redis")
@Data
@Component
public class RedisConfigProperties {

    private String host = "127.0.0.1";

    private int port = 6379;

    private String password = "";

    private int dbIndex = 0;

}
